package com.demo.pojo;

import java.math.BigDecimal;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 库存表
 * </p>
 *
 * @author Helen
 * @since 2020-09-09
 */
@Data
@EqualsAndHashCode()
@Accessors(chain = true)
@ApiModel(value = "THisInventory对象", description = "库存表")
public class THisInventory {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "库存ID")
    @TableId(value = "inventory_id", type = IdType.AUTO)
    private Integer inventoryId;

    @ApiModelProperty(value = "药品ID")
    private Integer hmrId;

    @ApiModelProperty(value = "诊所ID")
    private Integer companyId;

    @ApiModelProperty(value = "库存数量")
    private Long inventoryNum;

    @ApiModelProperty(value = "单位")
    private String inventoryUnit;

    @ApiModelProperty(value = "批发价")
    private BigDecimal inventoryTradePrice;

    @ApiModelProperty(value = "处方价")
    private BigDecimal inventoryPrescriptionPrice;

    @ApiModelProperty(value = "批发额")
    private BigDecimal inventoryTradeTotalAmount;

    @ApiModelProperty(value = "处方额")
    private BigDecimal inventoryPrescriptionTotalAmount;

    @ApiModelProperty(value = "库存预警")
    private String earlyWarning;

    @ApiModelProperty(value = "更新时间")
    private Integer updateTime;


}
